package com.wfit.service;

import com.wfit.pojo.Headline;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wfit.pojo.vo.PortalVo;
import com.wfit.utils.Result;

/**
* @author 30251
* @description 针对表【news_headline】的数据库操作Service
* @createDate 2024-04-30 17:02:39
*/
public interface HeadlineService extends IService<Headline> {
/*
* 首页数据查询
* */
    Result findNewsPage(PortalVo portalVo);
/*
* 根据id查询详情
* */
    Result showHeadlineDetail(Integer hid);
//发布头条的方法
    Result publish(Headline headline,String token);
//修改头条数据
    Result updateData(Headline headline);
}
